import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SEntityId } from "./SEntityId";
import { SGuildUnion } from "./SGuildUnion";
type int = number;
//class SRobCityThreeJoinTeam
    
    export  class SRobCityThreeJoinTeam
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.sEntityId.__write(arg1);
            arg1.writeString(this.guildName);
            arg1.writeInt(this.shaBak);
            arg1.writeInt(this.froce);
            arg1.writeInt(this.hurt);
            arg1.writeInt(this.leaderId);
            arg1.writeString(this.leaderName);
            this.guildUnion.__write(arg1);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.sEntityId = new SEntityId();
            this.sEntityId.__read(arg1);
            this.guildName = arg1.readString();
            this.shaBak = arg1.readInt();
            this.froce = arg1.readInt();
            this.hurt = arg1.readInt();
            this.leaderId = arg1.readInt();
            this.leaderName = arg1.readString();
            this.guildUnion = new SGuildUnion();
            this.guildUnion.__read(arg1);
            return;
        }

        public /* var */sEntityId: SEntityId;

        public /* var */guildName: string;

        public /* var */shaBak: int;

        public /* var */froce: int;

        public /* var */hurt: int;

        public /* var */leaderId: int;

        public /* var */leaderName: string;

        public /* var */guildUnion: SGuildUnion;
    }
